package com.fulihui.wgj.facade.request.qrcode;

import com.fulihui.common.request.rpc.AppRequest;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

@Getter
@Setter
public class WxParamQrcodeSaveRequest extends AppRequest {

    /**
     * 渠道唯一标识
     */
    @NotBlank(message = "渠道唯一标识不能为空")
    @Length(min = 1, max = 64, message = "渠道唯一标识长度限制为1到64")
    private String sceneStr;

    /**
     * 渠道使用场景描述
     */
    @NotBlank(message = "渠道使用场景描述不能为空")
    private String sceneDescribe;

    /**
     * ("text", "文本"),("image", "图片"), ("voice", "语音"), ("video", "视频"), ("music", "图文消息音乐"), ("news", "图文消息-外链"), ("mpnews", "图文消息-图文消息页面"), ("wxcard", "卡券")
     * {@link com.fulihui.common.enums.CustomMsgTypeEnum}
     */
    @NotBlank(message = "msgType不能为空")
    private String msgType;

    /**
     * 二维码回复内容-type是图片或图文时存储media_id
     */
    private String content;

    /**
     * 渠道标签
     */
    private String channelLabel;

}